Setting selected column by DXL

Is there a way to select a column by DXL, i.e. the counterpart of clicking on the column title in the user interface?

So, I want the reverse of the function: int getSelectedCol (Module). My guess is that's there is a global variable of same sort used for recording the currently selected column (or actually just the index number).

Background is I want to reuse the standard "Edit column" functionality for a column of my choice. I can include: 

#include <standard/column/columnEdit.inc

However, the the scope of the include file is the selected column and I get a DXL run-time error if there is no selected column (-1 is an invalid column index)

 

 


morast - Mon Dec 22 16:15:50 EST 2014

Re: Setting selected column by DXL
morast - Thu Dec 25 12:30:10 EST 2014

I can solve my problem by overloading

int getSelectedCol (Module)

and thereby control the scope of

#include <standard/column/columnEdit.inc